package com.jqd.framework.core.common.util;

public class IDCreator {
	
	public static String createID() {
		StringBuilder idString = new StringBuilder();
		// current time stamp
		Long id = new Long(System.currentTimeMillis());
		idString.append(id.longValue());
		
		// random id
		Double randomId = new Double(Math.floor(Math.random() * 1000));
		idString.append(randomId.intValue());
		return idString.toString();
	}
}
